package io.github.yotta.logger.example.order.context;

import io.github.yotta.logger.core.support.LogContext;
import org.springframework.stereotype.Component;

/**
 * @author yotta
 * @date 2023/4/14 17:01
 * 实现LogContext
 */
@Component
public class LogContextImpl implements LogContext {

    @Override
    public String getOperatorId() {
        return "1";
    }

    @Override
    public String getOperatorName() {
        return "mockUser";
    }

    @Override
    public String getTenantId() {
        return "1";
    }
}
